﻿<Page x:Name="page"
    x:Class="WaffleExample.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:WaffleExample"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    
    xmlns:wf="using:WaffleControl"
    
    Loaded="LoadEvent"
    mc:Ignorable="d"
      SizeChanged="page_SizeChanged">

    <Grid x:Name="grid">
        <Grid.Background>
            <ImageBrush Stretch="UniformToFill" ImageSource="Assets/waffle.jpg"/>
        </Grid.Background>
        <wf:WaffleBar x:Name="Waffle" BarListItems="{Binding ExampleBarListItem, ElementName=page}"
                      WaffleTileListItems="{Binding ExampleWaffleListItem, ElementName=page}" ReduceForAppPortait="True" ></wf:WaffleBar>
    </Grid>
</Page>
